package org.apache.catalina.tomcat.componment;

import org.apache.catalina.LifecycleEvent;
import org.apache.catalina.LifecycleListener;

public class LifecycleListenerImpl implements LifecycleListener {

	public void lifecycleEvent(LifecycleEvent event) {
		System.out.println(event.getData().getClass());
		LifecycleListener[] listeners=event.getLifecycle().findLifecycleListeners();
		for(LifecycleListener listener:listeners){
			System.out.print(listener.toString());
		}
		System.out.println(event.getSource().getClass());
		// TODO Auto-generated method stub
	
	}

}
